create and append a span inside multiple div of same class